package com.rephael.van.utils;


import java.io.File;

//文件操作相关类
public class FileUtils {
	//内存卡是否存在
	public static boolean isSDCardExist(){
	 return android.os.Environment.getExternalStorageState().equals(
                android.os.Environment.MEDIA_MOUNTED);
	}
	//创建路径
	public static File createPath(String path){
		File file = new File(path);
		if(!file.exists()){
			file.mkdirs();
			return file;
		}
		return file;
	}

}
